package com.buba.springcloud.dao;

import com.buba.springcloud.pojo.Dept;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author 张宇飞
 * @Description:
 * @date 2021/8/911:53
 * 持久层接口
 */
@Mapper
@Repository
public interface DeptMapper {
    boolean addDept(Dept dept);

    Dept selDeptById(Long deptId);

    List<Dept> selDept();
}
